<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf"
      xmlns:h="http://java.sun.com/jsf/html">
<body>
    <ui:composition template="/WEB-INF/template.xhtml">
        <ui:define name="topnav">
            <ul>
                <li id="current"><h:commandLink action="login" value="Login"/></li>
            </ul>
        </ui:define>
            
        <ui:define name="sidebar">
            <ui:include src="/WEB-INF/incl/login.xhtml" />
        </ui:define>
        
        <ui:define name="body">
            <h1>Welcome to the Blade application</h1>
            
            <h:messages globalOnly="true" 
                        layout="list" 
                        errorClass="cntError"/>
            
            <p>
                Welcome to the Blade application Demo. The blade application is a simple storefront
                application written using the latest JBoss technologies: EJB3, Seam and jBPM.
            </p>

            <h2>How to use the DVD Store</h2>
            <p>
                There are 2 customer accounts: <b>japl</b> and <b>manager</b>
                (with password <b>password</b>).  You can login using any
                of the customer accounts or create your own customer account
                to browse the Blade application and make requests.
                Once an request is submitted, you can
                check the status of the request from the <em>My
                Requests</em> screen.  When the request is fulfilled by
                the store manager, the status of the order will be
                updated.
            </p>

        </ui:define>
    </ui:composition> 
</body> 
</html>
